/*!
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 * Modifications Copyright OpenSearch Contributors. See
 * GitHub history for details.
 */

.ouiPagination {
  display: flex;
  align-items: center;

  &__compressedText {
    // sass-lint:disable-block no-important
    display: inline-flex;
    align-items: center;
    line-height: 1 !important; // Override OuiText line-height

    > *:first-child {
      margin-right: $ouiSizeXS;
    }

    > *:last-child {
      margin-left: $ouiSizeXS;
    }
  }
}

.ouiPagination__list {
  display: flex;
  align-items: baseline;
}
